<template>
    <div class="userinfo">
        <header>
            <img src="@/assets/imgs/usertouxiang.png" alt="">
            <span @click="jumpUrl('/login')">立即登录</span>
            <div class="money">
                <div class="money1">
                    <p>0张</p>
                    <p>卖座券</p>
                </div>
                <div class="money2">
                    <p>￥0</p>
                    <p>余额</p>
                </div>
            </div>
        </header>
    </div>
</template>

<script>

export default {
    methods: {
        jumpUrl(_url) {
            this.$router.push(_url)
        }
    },
}
</script>

<style lang="less" scoped>
@import url(@/assets/Less/common.less);

header {
    margin-top: -60px;
    padding-top: 20px;
    height: 200px;
    background-size: cover;
    background-image: url(@/assets/imgs/loginbackground.png);


    img {
        display: inline-block;
        border-radius: 50%;
        margin-top: 95px;
        margin-left: 20px;
        width: 66.2px;
        height: 66.2px;
    }

    span {
        display: block;
        margin-left: 100px;
        margin-top: -45px;
        color: #fff;
    }

    .money {
        flex: 2;
        margin-top: 70px;
        width: 100%;
        height: 60px;
        border-bottom: 1px solid @gray_text_color;

        .money1,
        .money2 {
            float: left;
            text-align: center;
            width: 50%;
            height: 100%;

            p:nth-child(1) {
                font-size: 17px;
            }

            p:nth-child(2) {
                margin-top: 5px;
                font-size: 13px;
                color: @gray_text_color;
            }
        }
    }
}
</style>